package com.lm.activiti.boot.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author lm_jcf
 * @date 2020/11/3 15:57
 */
@Data
public class Food implements Serializable {

    @NotBlank(message = "参数缺失：食物名称")
    private String name;

    private Integer number;
}
